/*eslint-disable */
// import ajax from '@/utils/request.js'
import { ajax } from '@/plugins/request.js'

/**
 *
 * @param {object} article
 * @description 发布文章
 */
export const createArticle = (article) => {
  return ajax.post(`/api/articles`, {
    article
  })
}
